package com.fs.sw.bo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fs.sw.common.serialize.SexDeserialize;
import com.fs.sw.common.serialize.SexSerializer;
import lombok.Data;

@Data
public class UserBO {

    private Integer id;

    private String name;

    @JSONField(serializeUsing = SexSerializer.class,deserializeUsing = SexDeserialize.class)
    private boolean sex;

    @JSONField(serialize = false)
    private String remarks;
}
